/* 🌐 Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: "Inter", sans-serif;
  background: #f8f9fa;
  color: #222;
  line-height: 1.6;
  scroll-behavior: smooth;
  padding-top: 100px; /* ✅ Push content below navbar */
}

/* 🌟 Glassmorphic Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.nav-left .logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: #111;
}

.nav-center {
  display: flex;
  gap: 25px;
}

.nav-center a {
  text-decoration: none;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-center a:hover {
  color: #007bff;
}

.nav-right a {
  margin-left: 15px;
  font-size: 1.2rem;
  color: #111;
  transition: color 0.3s;
}

.nav-right a:hover {
  color: #007bff;
}

/* Add spacing so content doesn't overlap navbar */
body {
  margin: 0;
  padding-top: 100px; /* Prevents overlap */
  font-family: "Inter", sans-serif;
  background: #f8f9fa;
}

/* ✨ Content Panes */
section.pane {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 40px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: fadeInUp 1s ease;
}

/* Headings */
h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 15px;
  text-align: center;
}

/* Text */
p, li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 10px;
}

/* Code Block */
pre {
  background: rgba(0, 0, 0, 0.75);
  color: #f8f8f2;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.95rem;
  margin-top: 20px;
}

/* Images */
.screenshot {
  display: block;
  max-width: 100%;
  border-radius: 15px;
  margin: 20px auto;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Components Grid */
.components-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.components-grid div {
  text-align: center;
  max-width: 250px;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.components-grid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  margin-top: 60px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-radius: 20px 20px 0 0;
  font-weight: 500;
  color: #222;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
